package com.kapcb.schedule.bean;

/**
 * <a>Title: ExecutorRouteStrategyEnum </a>
 * <a>Author: kapcb <a>
 * <a>Description: ExecutorRouteStrategyEnum <a>
 *
 * @author Kpacb
 * @version 1.0
 * @date 2024/5/30 21:03
 * @since 1.0
 */
public enum ExecutorRouteStrategyEnum {

    FIRST("job conf route first"),
    LAST("job conf route last"),
    ROUND("job conf route round"),
    RANDOM("job conf route random"),
    CONSISTENT_HASH("job conf route consistent hash"),
    LEAST_FREQUENTLY_USED("job conf route lfu"),
    LEAST_RECENTLY_USED("job conf route lru"),
    FAILOVER("job conf route failover"),
    BUSYOVER("job conf route busy over"),
    SHARDING_BROADCAST("job conf_route_shard");

    /**
     * 描述
     */
    private String description;

    ExecutorRouteStrategyEnum(String description) {
        this.description = description;
    }

}
